#coding:utf-8
import json
import time
def read():
	info = {
		"isValid":True, 
		"Time":"2016-08-31 12:00:00",	
		"StuInfo":{
			"StuID":"913106840350",
			"Name":"王浩宇",
			"Date":"2017-06-30"	
		},
		"Computer":{
			"ComputerID":53,
			"RoomID":"304",
			"Password":"123456",
		}
	}
	return json.dumps(info)

def write(msg):
	print "[serial][write] %s" % msg